package com.gqqx.weather;


import com.gqqx.weather.controller.TestClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.net.SocketException;


@SpringBootApplication
//@ComponentScan(basePackages = "com.gqqx")
@MapperScan("com.gqqx.weather.mapper")
//@EnableDiscoveryClient
public class ServiceWeatherApplication {
    public static void main(String[] args) throws SocketException {
        SpringApplication.run(ServiceWeatherApplication.class,args);

//        new TestClient().RequestLogin();
//        new TestClient().ObtainNumber();

    }


//    @Bean
//    public RestTemplate restTemplate(){
//        return new RestTemplate();
//    }

}
